package com.emm.yixun.mobile.adapter;

import java.util.ArrayList;

import com.emm.yixun.mobile.model.HorizontalVariableModel;

import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;

public class HorizontalVariableAdapter extends BaseAdapter {

	Context context;

	ArrayList<HorizontalVariableModel> list;

	public HorizontalVariableAdapter(Context context, ArrayList<HorizontalVariableModel> list) {
		this.context = context;
		this.list = list;
	}

	@Override
	public int getCount() {
		return list == null ? 0 : list.size();
	}

	@Override
	public Object getItem(int position) {
		return list == null ? null : list.get(position);
	}

	@Override
	public long getItemId(int position) {
		return position;
	}

	@Override
	public View getView(int position, View convertView, ViewGroup parent) {
//		horizontal_item
		return null;
	}

}
